package com.mqb;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class DeliverMsg extends BaseMsg{

    /**
     * 转发内容
     */
    private String deliverContent;

    public DeliverMsg() {
    }

    public DeliverMsg(String id, String recId, String sendId, String deliverContent) {
        super.id = id;
        super.msgType = MsgType.DELIVER.getCode();
        super.recId = recId;
        super.dateTime = LocalDateTime.now();
        this.deliverContent = deliverContent;
    }
}
